package com.nf;

public class Girl {

    public Girl(){
        System.out.println("第一步：IOC容器创建出Bean实例"+this);
    }

    private String name;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        System.out.println("第二步：对属性name设置值："+name);
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        System.out.println("第二步：对属性age设置值："+age);
        this.age = age;
    }

    public void 伪装(){
        System.out.println("第三步：好好伪装一下");
    }

    public void 卸妆(){
        System.out.println("第五步：把面具脱下来");
    }

    public void 吃饭(){
        System.out.println("好好吃一吨");
    }

    public void 逛街(){
        System.out.println("出去走一圈");
    }
}
